package com.hongxun.project.assets.pTask.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 采集任务表 p_task
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class PTask extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 任务ID */
	private String id;
	/** 任务名称 */
	private String taskName;
	/** 任务状态 */
	private String taskStatus;
	/** 计划开始时间 */
	private Date pStartTime;
	/** 计划结束时间 */
	private Date pEndTime;
	/** 实际开始时间 */
	private Date cStartTime;
	/** 实际结束时间 */
	private Date cEndTime;
	/** 变压器ID */
	private String byqId;
	/** 变压器名称 */
	private String byqName;
	/** 线路ID */
	private String lineId;
	/** 线路名称 */
	private String lineName;
	/** 任务说明 */
	private String taskNote;
	/** 任务分配时间 */
	private Date releaseTime;
	/** 采集人ID */
	private String useId;
	/** 采集人名称 */
	private String useName;
	/** 任务创建/分配人ID */
	private String createId;
	/** 任务创建/分配人姓名 */
	private String createName;
	/** 审核人ID */
	private String auditorId;
	/** 审核人姓名 */
	private String auditorName;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setTaskName(String taskName) 
	{
		this.taskName = taskName;
	}

	public String getTaskName() 
	{
		return taskName;
	}
	public void setTaskStatus(String taskStatus) 
	{
		this.taskStatus = taskStatus;
	}

	public String getTaskStatus() 
	{
		return taskStatus;
	}
	public void setPStartTime(Date pStartTime) 
	{
		this.pStartTime = pStartTime;
	}

	public Date getPStartTime() 
	{
		return pStartTime;
	}
	public void setPEndTime(Date pEndTime) 
	{
		this.pEndTime = pEndTime;
	}

	public Date getPEndTime() 
	{
		return pEndTime;
	}
	public void setCStartTime(Date cStartTime) 
	{
		this.cStartTime = cStartTime;
	}

	public Date getCStartTime() 
	{
		return cStartTime;
	}
	public void setCEndTime(Date cEndTime) 
	{
		this.cEndTime = cEndTime;
	}

	public Date getCEndTime() 
	{
		return cEndTime;
	}
	public void setByqId(String byqId) 
	{
		this.byqId = byqId;
	}

	public String getByqId() 
	{
		return byqId;
	}

	public String getByqName() {
		return byqName;
	}

	public void setByqName(String byqName) {
		this.byqName = byqName;
	}

	public void setLineId(String lineId)
	{
		this.lineId = lineId;
	}

	public String getLineId() 
	{
		return lineId;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public void setTaskNote(String taskNote)
	{
		this.taskNote = taskNote;
	}

	public String getTaskNote() 
	{
		return taskNote;
	}
	public void setReleaseTime(Date releaseTime) 
	{
		this.releaseTime = releaseTime;
	}

	public Date getReleaseTime() 
	{
		return releaseTime;
	}
	public void setUseId(String useId) 
	{
		this.useId = useId;
	}

	public String getUseId() 
	{
		return useId;
	}

	public String getUseName() {
		return useName;
	}

	public void setUseName(String useName) {
		this.useName = useName;
	}

	public void setCreateId(String createId)
	{
		this.createId = createId;
	}

	public String getCreateId() 
	{
		return createId;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getAuditorName() {
		return auditorName;
	}

	public void setAuditorName(String auditorName) {
		this.auditorName = auditorName;
	}

	public void setAuditorId(String auditorId)
	{
		this.auditorId = auditorId;
	}

	public String getAuditorId() 
	{
		return auditorId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("taskStatus", getTaskStatus())
            .append("pStartTime", getPStartTime())
            .append("pEndTime", getPEndTime())
            .append("cStartTime", getCStartTime())
            .append("cEndTime", getCEndTime())
            .append("byqId", getByqId())
            .append("lineId", getLineId())
            .append("taskNote", getTaskNote())
            .append("releaseTime", getReleaseTime())
            .append("useId", getUseId())
            .append("createId", getCreateId())
            .append("auditorId", getAuditorId())
            .toString();
    }
}
